package com.cn.web.org.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.org.OrgDO;
import com.cn.web.org.vo.OrgSearch;
import com.cn.web.org.vo.OrgVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * description: IOrgMapper <br>
 * date: 21.12.16 14:52 <br>
 * author: cn_yaojin <br>
 * version: 1.0 <br>
 */
@Mapper
public interface IOrgMapper extends BaseMapper<OrgDO> {

    void update(Object pd);

    void del(String id);

    List<OrgVO> list(OrgSearch orgSearch);

    List<OrgDO> listUnitByUserId(String userId);

}
